<div class="article">
<!-- <p><?php echo lang('uploking_file_download_label')?></p>  -->
</div>
<div class="main_content_wrapper">
	<div class="main_content_top"></div>
	<div class="main_content">
		<div id="download-content">
			
			<div class="file-description">
				<p><?php echo lang('uploking_file_downloading_label').': '. $file->name ?></p>
				<p><?php echo $file->share_desc?></p>
			</div>
			<?php
			if($isVideo){
			?>
			<div id="video-wrapper">
				<?php echo form_button('watch_video', lang('uploking_file_download_watch_label'), 'id="watch_video"')?>
			</div>
			
			<?php
			}
			?>
			<div class="clear"></div>
			<div id="download-error">
			</div>
			<?php echo form_open('myfiles/download', 'id="uploking-download-form"')?>
			<?php echo form_hidden('file_id', $fileId) ?>
			<?php
			if($isLogged){ 
			?>
				<div id="uploking-download-form-content">
					
					<div class="uploking-download-form-item">
						<?php echo getCaptcha() ?>
					</div>
					<div class="uploking-download-form-item">
						<?php echo form_input('captcha', '','id="captcha" class="input-text"') ?>
					</div>
					<div class="uploking-download-form-item">
						<?php echo form_submit('download', lang('uploking_file_download_label'),'class="button_download download_file" id="download_button"') ?>
					</div>
				</div>
			<?php
			}else{
			?>
			<div id="my-timer">
		        <?php echo lang('uploking_file_download_wait_label')?> <span id="show-time"><?php echo $countdownTime;?></span> <?php echo lang('uploking_file_download_second_label')?>        
		    </div>
			<?php
			}
			?>
			<?php echo form_close();?>
			<div id="rating-form-content">
			</div>
		</div>
	</div>
	<div class="main_content_bottom"></div>
</div>